// 0.单个加载  Single load
// const http=require('http');
// const fs=require('fs');

//------------------------------

// 1.首先引用同时加载多个模块 
// 1.First, reference multiple modules loaded at the same time
const requireAll = require('./requireAll');
// 2.然后 解构函数 必须保证一一对应 且模块存在 
// Then the deconstruction function must ensure one-to-one correspondence and the existence of modules
const { fs, http } = requireAll('fs', 'http');
console.log(fs, http);